package com.Redis.Utils;

import java.io.IOException;
import java.util.Properties;

public class PropertiesUtil {
	
	private static Properties conProp;
	
	public static Properties getConProp() {
		try {
			if(conProp==null) {
				conProp = new Properties();
				conProp.load(PropertiesUtil.class.getClassLoader().getResourceAsStream("config.properties"));
			}
		} catch (IOException e) {
			e.printStackTrace();
		}
		return conProp;
	}	
}
